﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MagicFight
{
    public static class Log
    {
        private static List<String> log = new List<string>(10);

        static Log()
        {
            for (int i = 0; i < log.Capacity; ++i) log.Add("Teste bem grande, grande, grande, tao grande que e gigantaaaaaaaaaaaaaaaaaaaaaaaao!");
        }

        public static void Add(String s)
        {
            log.RemoveAt(0);
            log.Add(s);
        }

        new public static String ToString()
        {
            String r = String.Empty;
            foreach (String s in log) r += s + "\n";
            return r;
        }
    }
}